<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			div{
				width: 300px;
				height: 300px;
				background: red;
				margin: 200px auto;
				transition: 1s;
			}
			
			div:hover{
				transform: rotateZ(45deg);
			}
		</style>
	</head>
	<body>
		<div></div>
	</body>
</html>
